/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.dao;

import java.util.List;
import javax.persistence.NoResultException;
import javax.persistence.PersistenceException;
import model.excecoes.ErroDAOException;
import model.fornecedor.Fornecedor;


/**
 *
 * @author Marcos
 */
public interface IRepositorioFornecedor {
    public boolean verificarExistencia(String razaoSocial, String cnpj)throws ErroDAOException, PersistenceException, NoResultException;
    public int identificarCodigoProduto(String descricao, String marca)throws ErroDAOException, PersistenceException, NoResultException;
    public List<Fornecedor> listarFornecedor(String consulta, String campo)throws ErroDAOException, PersistenceException, NoResultException;
    
}
